<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:p="http://primefaces.org/ui">

    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <h:outputStylesheet name="./css/default.css"/>
        <h:outputStylesheet name="./css/cssLayout.css"/>
        <title>Facelets Template</title>
    </h:head>

    <h:body>

        <div id="top">
            <ui:insert name="top"></ui:insert>
            <img src="../resources/img/logo.png" alt="" width="130" height="80"/>
        </div>

        <div id="content" class="center_content">
            <h:form>
            <p:megaMenu>
          
                <p:submenu label="Cadastro">
                    <p:column>
                        <p:submenu label="Cadastro">
                            <p:menuitem value="Filmes" url="../filme/Create.xhtml"/>
                          
                            <p:menuitem value="Clientes" url="../cliente/Create.xhtml"/>
                            
                        </p:submenu>
                    </p:column>
                </p:submenu>
                
                <p:menuitem value="Locação" url="../locacao/Create.xhtml"/>
                <p:menuitem value="Reserva" url="../reservaFilme/Create.xhtml"/>
            </p:megaMenu>
            </h:form>
            <ui:insert name="content">Content</ui:insert>
 
        </div>

        <div id="bottom">
            <ui:insert name="bottom">Bottom</ui:insert>
        </div>

    </h:body>

</html>
